package com.lineage.server.serverpackets;

public class S_Game_PetRacing extends ServerBasePacket {
  private byte[] _byte;
  
  public S_Game_PetRacing(int maxLab, int nowLab) {
    this._byte = null;
    writeC(250);
    writeC(67);
    writeH(maxLab);
    writeH(nowLab);
  }
  
  public S_Game_PetRacing(int type, int s, boolean i) {
    this._byte = null;
    writeC(250);
    writeC(type);
    writeC(s);
  }
  
  public byte[] getContent() {
    if (this._byte == null)
      this._byte = getBytes(); 
    return this._byte;
  }
  
  public String getType() {
    return getClass().getSimpleName();
  }
}
